{eq name="tree" value="1"}
{volist name="list" id="v"}
<tr data-tt-id="{$v[$modelPk]}" data-tt-branch="true" {neq name="$v[$treeid]" value="0"}data-tt-parent-id="{$v[$treeid]}"{/neq}>
  <td><input type="checkbox" value="{$v[$modelPk]}"></td>
  {volist name="fieldsarr" id="f"}
  {neq name="$f['condition_field']" value=""}
  <td>{$v[$f['field']]}</td>
  {else /}
  <td>{$v[$f['field']]}</td>
  {/neq}
  {/volist}
</tr>
{/volist}
{else /}
{volist name="list" id="v"}
<tr>
  <td><input type="checkbox" value="{$v[$modelPk]}"></td>
  {eq name="tree" value="2"}
  <td><input style="width: 30px;height: 20px;" type="text" value="{$v['listorder']}" name="listorders[{$v[$modelPk]}]"></td>
  {/eq}
  {volist name="fieldsarr" id="f"}
  {neq name="$f['condition_field']" value=""}
    <td><a href="Javascript:" class="cocoUrl" condition="{ {$f['condition_field']}:'{$v[$f['condition_value']]}' }" >{$v[$f['field']]}</a></td>
  {else /}
    <td>{$v[$f['field']]}</td>
  {/neq}
  {/volist}
</tr>
{/volist}
{/eq}